<#import "/ftl/mainAdmin.ftl" as page>

<@page.mainTemplate styleSheet="systemuserCss" jsFile="systemuserJs">
	 <!-- BEGIN CONTENT BODY -->
            <div class="page-content">
                <!-- BEGIN PAGE BREADCRUMB -->
                <ul class="page-breadcrumb breadcrumb">
                	<li>
			            <a href="${context}/base/index_ftl">首页</a>
			            <i class="fa fa-circle"></i>
			        </li>
                    <li>
                        <a href="commanage.html">用户管理</a>
                        <i class="fa fa-circle"></i>
                    </li>
                    <li>
                        <span class="active">个人用户</span>
                    </li>
                </ul>
                <!-- END PAGE BREADCRUMB -->
                <!-- BEGIN PAGE BASE CONTENT -->
                <div class="row">
                    <div class="portlet light bordered">
                        <div class="portlet-title">
                            <div class="caption">
                                基本信息</div>
                        </div>
                        <div class="portlet-body form edit-form">
                            <form action="#" class="horizontal-form" id="addInd" class="addInd">
                                    <input type="hidden" id="id"  name="id" value="${userVO.id}">
                                    <div class="form-body">
                                        <div class="row">
                                            <div class="col-md-6">
                                                <div class="form-group">
                                                    <div class="input-group">
                                                        <label class="input-group-addon">用户ID</label>
                                                        <input type="text" id="userCode" class="form-control" placeholder="用户ID" name="userCode" value="${userVO.userCode}" readonly="readonly">
                                                    </div>
                                                </div>
                                            </div>
                                            <!--/span-->
                                            <div class="col-md-6">
                                                <div class="form-group">
                                                    <div class="input-group">
                                                        <label class="input-group-addon">国&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;籍</label>
                                                        <input name="lawType" value="${userVO.userName}" readonly="readonly">
                                                    </div>
                                                </div>
                                            </div>
                                            <!--/span-->
                                        </div>
                                        <div class="row">
                                            <div class="col-md-6">
                                                <div class="form-group">
                                                    <div class="input-group">
                                                        <label class="input-group-addon">姓名</label>
                                                        <input type="text"  class="form-control" value="${userVO.userName}"  readonly="readonly">
                                                    </div>
                                                </div>
                                            </div>
                                            <!--/span-->
                                            <div class="col-md-6">
                                                <div class="form-group">
                                                    <div class="input-group">
                                                        <label class="input-group-addon">证件类型</label>
                                                        <input type="text"  class="form-control" value="${userVO.lawType}"  readonly="readonly">
                                                    </div>
                                                </div>
                                            </div>
                                            <!--/span-->
                                        </div>
                                        <div class="row">
                                            <div class="col-md-6">
                                                <div class="form-group">
                                                    <div class="input-group">
                                                        <label class="input-group-addon">证件号码</label>
                                                        <input type="text" class="form-control" value="${userVO.lawNo}" readonly="readonly">
                                                    </div>
                                                </div>
                                            </div>
                                            <!--/span-->
                                            <div class="col-md-6">
                                                <div class="form-group">
                                                    <div class="input-group">
                                                        <label class="input-group-addon">移动电话</label>
                                                        <input type="text"  class="form-control" value="${userVO.mobileTel}" readonly="readonly">
                                                    </div>
                                                </div>
                                            </div>
                                            <!--/span-->
                                        </div>
                                        <div class="row">
                                            <div class="col-md-6">
                                                <div class="form-group">
                                                    <div class="input-group">
                                                        <label class="input-group-addon">办公电话</label>
                                                        <input type="text"  class="form-control"  value="${userVO.officeTel}" readonly="readonly"> 
                                                    </div>
                                                </div>
                                            </div>
                                            <!--/span-->
                                            <div class="col-md-6">
                                                <div class="form-group">
                                                    <div class="input-group">
                                                        <label class="input-group-addon">所属公司</label>
                                                        <input type="text"  class="form-control"  value="${userVO.company.companyName}" readonly="readonly">
                                                    </div>
                                                </div>
                                            </div>
                                            <!--/span-->
                                        </div>
                                        <div class="row">
                                            <div class="col-md-6">
                                                <div class="form-group">
                                                    <div class="input-group">
                                                        <label class="input-group-addon">E-mail</label>
                                                        <input type="text"  class="form-control"  value="${userVO.email}" readonly="readonly">
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="col-md-6">
                                                <div class="form-group">
                                                    <div class="input-group">
                                                        <label class="input-group-addon">发薪日期</label>
                                                        <input type="text"  class="form-control"  value="${userVO.salaryDate}" readonly="readonly">
                                                    </div>
                                                </div>
                                            </div>
                                            <!--/span-->
                                        </div>
                                        <div class="row">
                                            <div class="col-md-6">
                                                <div class="form-group">
                                                    <div class="input-group">
                                                        <label class="input-group-addon">建立日期</label>
                                                        <input type="text"  class="form-control"  value="${userVO.createDate}" readonly="readonly">
                                                    </div>
                                                </div>
                                            </div>
                                            <!--/span-->
                                            <div class="col-md-6">
                                                <div class="form-group">
                                                    <div class="input-group">
                                                        <label class="input-group-addon">备注</label>
                                                        <input type="text"  class="form-control" value="${userVO.remark}" readonly="readonly">
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <h4 class="form-section">开户信息</h4>
                                        <div class="row">
                                            <div class="col-md-6">
                                                <div class="form-group">
                                                    <div class="input-group">
                                                        <label class="input-group-addon">开户名称</label>
                                                        <input type="text"  class="form-control"  value="${userVO.bank.bankUserName}" readonly="readonly">
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="col-md-6">
                                                    <div class="form-group">
                                                        <div class="input-group">
                                                            <label class="input-group-addon">开户账号</label>
                                                            <input type="text"  class="form-control"  value="${userVO.bank.cardNum}" readonly="readonly">
                                                        </div>
                                                    </div>
                                                </div>
                                        </div>
                                        <div class="row">
                                            <div class="col-md-6">
                                                <div class="form-group">
                                                    <div class="input-group">
                                                        <label class="input-group-addon">开户行名称</label>
                                                        <input type="hidden" id="bankName" class="form-control" type="hidden" >
                                                    	<div class="input-group-content">
			                                                <select name="bankName" id="bankCode" class="form-control input-inline">
			                                                </select>
			                                            </div>
                                                    </div>
                                                </div>
                                            </div>
                                             <div class="col-md-6">
                                                <div class="form-group">
                                                    <div class="input-group">
                                                        <label class="input-group-addon">开户支行省市</label>
                                                        <input type="hidden" id="provinceName" class="form-control" id="provinceName" >
                                                   		<input type="hidden" id="cityName" class="form-control" id="cityName">
                                                   		<div class="input-group-content">
			                                                <div class="col-md-6 plr0">
			                                                    <select name="provinceCode" id="provinceCode" class="form-control input-inline">
			                                                    </select>
			                                                </div>
			                                                <div class="col-md-6 plr0">
			                                                    <select name="cityCode" id="cityCode" class="form-control input-inline">
			                                                    </select>
			                                                </div>
			                                            </div> 
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="row">
                                           
                                            <div class="col-md-6">
                                                    <div class="form-group">
                                                        <div class="input-group">
                                                            <label class="input-group-addon">开户支行名称</label>
                                                            <input type="hidden" id="brankBankName" class="form-control"  name="brankBankName">
                                                        	<div class="input-group-content">
				                                                <select  id="brankBankCode" name="brankBankCode" class="form-control"></select>
				                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            <div class="col-md-6">
                                                    <div class="form-group">
                                                        <div class="input-group">
                                                            <label class="input-group-addon">账户性质</label>
                                                            <select  id="accountType" name="accountType" class="form-control" name="bank.accountType" placeholder="账户性质" value="${userVO.bank.info.accountType}">
                                                            	<option value="">请选择</option>
                                                            	<option value="1">个人户</option>
                                                            </select>
                                                        </div>
                                                    </div>
                                                </div>
                                        </div>
                                        <h4 class="form-section">开户信息</h4>
                                        <div class="form-group"> 
	                                        <div class="col-md-6">
	                                                <div class="form-group">
	                                                    <div class="input-group">
	                                                        <label class="input-group-addon">子账户</label>
	                                                        <input type="text" id="" class="form-control" name="bank.accountNo" placeholder="开通子账户后显示账号信息" value="${userVO.bank.accountNo}" disabled>
	                                                    </div>
	                                                </div>
	                                            </div>
                                            <div class="col-md-6"> 
                                                <div class="checkbox-list"> 
                                                    <span class="checkbox-inline">  用户状态 : <strong> <#if userVO.statusStr=="">新增<#else>${userVO.statusStr}</#if></strong></span> 
                                                    <span class="checkbox-inline">  三要素验证 : <strong><#if userVO.statusStr=="">未验证<#else>${userVO.keyValidateStr}</#if></strong></span> 
                                                    <span class="checkbox-inline">  基金状态 : <strong><#if userVO.statusStr=="">未启用<#else>${userVO.fundStatusStr}</#if></strong></span> 
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                            </form>
                        </div>
                    </div>
                </div>
            </div>
            <!-- END CONTENT BODY -->

</@page.mainTemplate>